Everything about Server-side Scripting totally explained
Server-side scripting is a
web server technology in which a user's request is fulfilled by running a script directly on the web server to generate dynamic
HTML pages. It is usually used to provide interactive web sites that interface to databases or other data stores. This is different from
client-side scripting where scripts are run by the viewing web browser, usually in
JavaScript. The primary advantage to server-side scripting is the ability to highly customize the response based on the user's requirements, access rights, or queries into data stores.
When the server serves data in a commonly used manner, for example according to the HTTP or FTP protocols, users may have their choice of a number of client programs (most modern web browsers can request and receive data using both of those protocols). In the case of more specialized applications, programmers may write their own server, client, and communications protocol, that can only be used with one another.
Programs that run on a user's local computer without ever sending or receiving data over a network are not considered clients, and so the operations of such programs wouldn't be considered client-side operations.
Explanation
In the "old" days of the web, server-side scripting was almost exclusively performed by using a combination of
C programs,
Perl scripts and
shell scripts using the
Common Gateway Interface (CGI). Those scripts were executed by the
operating system, mnemonic coding and the results simply served back by the web server. Nowadays, these and other on-line scripting languages such as
ASP and
PHP can often be executed directly by the web server itself or by extension modules (for example
mod perl or
mod php) to the web server. Either form of scripting (for example, CGI or
direct execution) can be used to build up complex multi-page sites, but direct execution usually results in lower overhead due to the lack of calls to external interpreters.
Dynamic websites are also sometimes powered by custom web application servers, for example the
Python "Base HTTP Server" library, although some may not consider this to be server-side scripting.
Dynamic web page production
The production of server-side
dynamic web pages is one of the main applications of
server-side scripting languages.
One important alternative to use them, on a
MVC framework, is using
web template systems. Any
"not web specific" programming language can be used to manage
template engines and
web templates.
Further Information
Get more info on 'Server-side Scripting'.
|
External Link Exchanges
Do you know how hard it is to get a link from a large encyclopaedia? Well we're different and will prove it. To get a link from us just add the following HTML to your site on a relevant page:
<a href="http://server-side_scripting.totallyexplained.com">Server-side scripting Totally Explained</a>
Then simply click through this link from your web page. Our crawlers will verify your link, extract the title of your web page and instantly add a link back to it. If you like you can remove the words Totally Explained and embed the link in article text.
As long as your link remains in place, we'll keep our link to you right here. Please play fair - our crawlers are watching. Your site must be closely related to this one's topic. Any kind of spamming, dubious practises or removing the link will result in your link from us being dropped and, potentially, your whole site being banned. |